package Homework3VideoStore;

public class BreezyCustomer extends Customer
{
	public BreezyCustomer(String name)
	{
		super.name = name;
	}

	@Override
	public int numberOfVideosToRent()
	{
		int numToRent = random.nextInt(2) + 1;
		if(numToRent + numberOfVideosRented > 3)
			numToRent = 3 - numberOfVideosRented;
		
		return numToRent;
	}
	
	@Override
	public int numberOfNightsToRent()
	{
		int nights = random.nextInt(2) + 1;
		
		return nights;
	}

	@Override
	public boolean willRent(int numVids)
	{
		if (numVids > 0)
			return true;
		return false;
	}

	
}
